package com.huike.review.service;

import com.github.pagehelper.Page;
import com.huike.common.core.domain.AjaxResult;
import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    AjaxResult addReview(Review review);

    AjaxResult removeReview(Long id);

    AjaxResult updateReview(Review review);

    Review getByIdReview(long id);

    List<Review> getPageReview();
}
